import Vue from "vue";
import Vuex from "vuex";
import app from "./modules/app";
import user from "./modules/user";
import orders from "./modules/orders";
import orderAdd from "./modules/orderAdd";
import collect from './modules/collect'
import getters from "./getters";
import orderDetail from './modules/orderDetail'
Vue.use(Vuex);

const store = new Vuex.Store({
	modules: {
		app,
		user: user,
		orders,
		orderAdd,
		collect,
		orderDetail
	},
	getters,
});

export default store;
